package com.prs.crm.domain.cdxh;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * 报销
 * 
 * @author wangting
 */
@Entity
@Table(name = "cdxh_Reimbursement")
public class Reimbursement extends BaseEntity{
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	@ManyToOne
	private cd_Product cdProduct;
	/**
	 * 报销数量
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private Integer reimbursement;
	/**
	 * 报销时间
	 */
	private Date ReimDate;
	
	public Date getReimDate() {
		return ReimDate;
	}
	public void setReimDate(Date reimDate) {
		ReimDate = reimDate;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public cd_Product getCdProduct() {
		return cdProduct;
	}
	public void setCdProduct(cd_Product cdProduct) {
		this.cdProduct = cdProduct;
	}
	public Integer getReimbursement() {
		return reimbursement;
	}
	public void setReimbursement(Integer reimbursement) {
		this.reimbursement = reimbursement;
	}
	
}
